﻿using SHRIS.MIS.Common.Model;
using SHRIS.MIS.Entity.LonginState;
using SHRIS.MIS.Entity.SystemManage;
using SHRIS.MIS.Model.Param.SystemManage;
using SHRIS.MIS.Model.Result;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace SHRIS.MIS.IService.SystemManage
{
    public interface IMenuService
    {
        Task<List<MenuEntity>> GetList(MenuListParam param);

        Task<MenuEntity> GetEntity(Guid id);

        Task<int> GetMaxSort(Guid parentId);

        bool ExistMenuName(MenuEntity entity);

        Task SaveForm(MenuEntity entity);

        Task DeleteForm(string ids);

    }
}
